﻿
@{
    ViewBag.Title = "ImportPort";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h3>Import Port</h3>

@using (Html.BeginForm("ImportExcelFileToDatabasePort", "Import", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    <div>@Html.ActionLink("Download file template", "DownloadFilePort", "Import")</div>
    <div>
        <input type="file" id="file"
               name="file" required data-val="true" data-val-required="please select a file" />
        <input type="submit" id="Submit" class="submit" value="Upload" title="Click to upload file" />
        <label>@ViewBag.message</label>
    </div>
}
